package festival.board;

public class IrrigationTile extends Tile {
	
	private boolean mSurrounded;

	public IrrigationTile(int tileID, int tileSize) {
		super(tileID, tileSize);
		mSurrounded = false;
	}

	public IrrigationTile() {
		super();
	}
	
	public boolean isSurrounded() {
		return mSurrounded;
	}
	
	public void surround() {
		mSurrounded = true;
	}

	public boolean acceptPlace(int[] coordinates, TilePlacer tp, boolean apply) {
		return tp.place(coordinates, this, apply);
	}

	public boolean canBeStackedOn() {
		return false;
	}

	@Override
	public int getLandType() {
		return 2;
	}

	@Override
	public boolean canStack() {
		return false;
	}

	// @Override
	// public void acceptDraw(int[] coordinates, TileDrawer td) {
	// td.draw(coordinates, this);
	// }
}
